function submitCourseDesign(subjects)
{
		var upload = new Ext.ux.FileUploadField({
				fieldLabel : '选择文件',
				buttonText : '浏览...',
				name : 'userfile',
				allowBlank : false,
				emptyText : '请选择您上传的课程设计文件',
				anchor : '98%'
			});

		var form = new Ext.FormPanel({
					frame : true,
					labelAlign : 'right',
					labelWidth : 60,
					autoHeight : true,
					fileUpload : true,
					bodyStyle : 'padding-top:5px',
					items : [upload],
					fbar : new Ext.Toolbar({
								items : [new Ext.Button({
													text : '取消',
													iconCls : 'cancel-icon',
													handler : function() {
														win.close();
													}
												}), new Ext.Button({
													text : '确定',
													iconCls : 'ok-icon',
													handler : onupload
												})]
							})
				});
		var win = new Ext.Window({
					id : 'uploadReport',
					title : '上传课程设计',
					iconCls : 'report-icon',					layout : 'fit',
					width : 400,
					autoHeight : true,
					minWidth : 300,
					items : form
				});
		win.show();

		function onupload() {
			var furl = upload.getValue();
			if (Ext.isEmpty(furl)) {
				alerterr('请选择本地课程设计文件！');
				return;
			}
			ajaxform({
						form : form,
						params : {
							subjects : subjects
						},
						url : url.submitCourseDesign,
						waitmsg : '正在上传......',
						waitTitle : '请等待',
						success : function() {
							alertx('上传成功！');
							refreshTab('showCourseDesignList');
							win.close();
						}
					});
		}
}